package com.xz.example.factory;

import com.xz.example.entity.skin.spring.SpringButton;
import com.xz.example.entity.skin.spring.SpringComboBox;
import com.xz.example.entity.skin.spring.SpringTextField;
import com.xz.example.model.Button;
import com.xz.example.model.ComboBox;
import com.xz.example.model.TextField;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     SpringSkinFatory   
 * @package    com.xz.example.factory  
 * @date   2019/11/27 11:14  
 * @explain
 */
public class SpringSkinFatory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SpringComboBox();
    }
}
